package com.capybara.account.model.vo;


import com.capybara.account.base.BaseEntity;
import com.capybara.account.model.entity.AuUser;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.github.yulichang.annotation.EntityMapping;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 用户
 *
 * @author wgc
 * @since 2024-09-12
 */
@Data
@JsonIgnoreProperties({"tenantId","isDel","password","lastModifiedBy","createBy"})
@EqualsAndHashCode(callSuper = true)
public class AuUserVO extends AuUser {


    /**
     * AU 用户
     */
    @EntityMapping(tag = AuUser.class,
            thisField = BaseEntity.Fields.id,
            joinField = BaseEntity.Fields.id)
    private List<AuUser> auUserList;

    /**
     * AU 用户
     */
    @EntityMapping(tag = AuUser.class,
            thisField = BaseEntity.Fields.id,
            joinField = BaseEntity.Fields.id)
    private AuUser auUser;

}
